Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding SVG export support #49

Merged
merged 9 commits into from
Jan 26, 2017
Merged

Adding SVG export support #49

merged 9 commits into from
Jan 26, 2017

Conversation

electronicwhisper
Copy link
Collaborator

Not done yet, but progress on SVG export (for laser cutting, printing, etc).

To do:

  • Complete support for circles. Right now only pure circles are supported (no shear transforms or non-uniform scaling).
  • Add support for text.
  • Design UI for export, options around scaling (DPI) and bounds.

@electronicwhisper
Copy link
Collaborator Author

electronicwhisper commented Jan 5, 2017

I have completed the implementation for circles and text. Images currently do not render in SVG.

@joshuahhh, if this looks good to you please merge it into master / the main website in order to make it easier for lab members to do laser cutting via Apparatus.

This is useable now by going in the console and doing Apparatus.editor.exportSvg() which will download an svg file. One can also do Apparatus.editor.exportSvgString() to just get the string (I'm planning on using this for a lasercutter microservice bookmarklet for the lab).

I opened #68 for a list of features remaining to bring this beyond "experimental" status.

@electronicwhisper electronicwhisper mentioned this pull request Jan 5, 2017
4 tasks
@joshuahhh joshuahhh merged commit 48c7ad9 into master Jan 26, 2017
@joshuahhh joshuahhh deleted the svg branch February 8, 2017 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants